package com.api.view.banner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class BannerView {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("描述")
    private String info;
    @ApiModelProperty("跳转类型1内链 2外链 3不跳转")
    private Integer type;
    @ApiModelProperty("当选择内链时 type=1 --0对应艺术家 1对应作品")
    private Integer redType;
    @ApiModelProperty("对应的id或者url")
    private String targetContent;
    @ApiModelProperty("图片")
    private String img;
    @ApiModelProperty("发布时间")
    private String createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRedType() {
        return redType;
    }

    public void setRedType(Integer redType) {
        this.redType = redType;
    }

    public String getTargetContent() {
        return targetContent;
    }

    public void setTargetContent(String targetContent) {
        this.targetContent = targetContent;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
